package com.shantoo.databinding;

import android.util.Log;
import android.widget.TextView;
import android.widget.Toast;

public class CategoryPresenter {

   public void getName(DataBindAdapter.DataBindHolder holder){
       TextView textView = holder.getView(R.id.gc_id);
       Log.e("MainActivity", "info:" + textView.getText());
       Toast.makeText(holder.itemView.getContext(), "textView.getText():" + textView.getText(), Toast.LENGTH_SHORT).show();
   }

}
